package lyq.spec.edu.practical;

public class Message {
    private int id;
    private String preview;
    private  String title;
    private  String content;
    private String summary;
    private String createDate;

    public Message() {
    }


    public Message(int id, String preview, String title, String content, String summary, String createDate) {
        this.id = id;
        this.preview = preview;
        this.title = title;
        this.content = content;
        this.summary = summary;
        this.createDate = createDate;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getPreview() {
        return preview;
    }

    public void setPreview(String preview) {
        this.preview = preview;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }
}
